
package com.shoulder.boot.demo.mapper;

import com.shoulder.boot.demo.vo.DemoVo;
import com.shoulder.core.annotation.ScopeAuth;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 样例信息 Mapper 接口
 *
 * @author 596767880@qq.com
 * @since 2024-06-04 14:36:24
 */
public interface Demo2Mapper {
    @ScopeAuth(column = "user_id")
    @Select("select * from demo")
    List<DemoVo> demoList();

    @ScopeAuth(column = "user_id")
    List<DemoVo> demoList2();
}